package com.notice.entity;

import java.io.Serializable;

public class Comments implements Serializable {

    private Integer cid;
    private String commnet;
    private String uid;
    private Integer mid;
    private Integer upvote;

    public Comments(){}
    public Comments(Integer cid, String commnet, String uid, Integer mid, Integer upvote) {
        this.cid = cid;
        this.commnet = commnet;
        this.uid = uid;
        this.mid = mid;
        this.upvote = upvote;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCommnet() {
        return commnet;
    }

    public void setCommnet(String commnet) {
        this.commnet = commnet;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getUpvote() {
        return upvote;
    }

    public void setUpvote(Integer upvote) {
        this.upvote = upvote;
    }
}
